
file(
	GLOB_RECURSE
	DoQuMeasures_PUBLIC_HEADERS 
	*.hpp
)
file(
	GLOB_RECURSE
	DoQuMeasures_SOURCES 
	*.cpp
)


SET(DoQuMeasures_SRCS ${DoQuMeasures_SOURCES} ${DoQuMeasures_PUBLIC_HEADERS})

## Search boost
FIND_PACKAGE(Boost 1.33 COMPONENTS thread)


SET(DOQUMEASURES_EXTRA_DIRS ${ISE_INCLUDE_DIRS} ${Boost_INCLUDE_DIRS})

SET(DOQUMEASURES_EXTRA_LIBS ${ISE_LIBRARIES} ${Boost_LIBRARIES})

INCLUDE_DIRECTORIES(${DOQUMEASURES_EXTRA_DIRS})

ADD_DEFINITIONS(${ISE_DEFINITIONS})


INCLUDE_DIRECTORIES(${DoQuMeasures_SOURCE_DIR})

ADD_LIBRARY(${DoQuMeasures_major_minor} SHARED ${DoQuMeasures_SRCS} )
#SET_TARGET_PROPERTIES( ${DoQuMeasures_major_minor} PROPERTIES DEFINE_SYMBOL "GIRL_DLL" )
#SET_TARGET_PROPERTIES( ${DoQuMeasures_major_minor} PROPERTIES DEFINE_SYMBOL "GIRL_DLL_EXPORTS" )

TARGET_LINK_LIBRARIES(${DoQuMeasures_major_minor} ${DOQUMEASURES_EXTRA_LIBS})

INSTALL(FILES ${DoQuMeasures_PUBLIC_HEADERS} DESTINATION include/${DoQuMeasures_major_minor}/DoQuMeasures)

INSTALL(TARGETS ${DoQuMeasures_major_minor} 
	RUNTIME DESTINATION bin 
	LIBRARY DESTINATION lib 
	ARCHIVE DESTINATION lib)

